.class public Lnbisdk/g;
.super Ljava/lang/Object;


# instance fields
.field private e:Lnbisdk/px;

.field private m:Lnbisdk/ln;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public constructor <init>(Lnbisdk/px;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lnbisdk/g;->e:Lnbisdk/px;

    invoke-virtual {p1}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/g;->m:Lnbisdk/ln;

    return-void
.end method

.method public static b(Ljava/lang/String;)Z
    .locals 1

    if-eqz p0, :cond_1

    const-string v0, "en-US"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "es-US"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public t()V
    .locals 3

    iget-object v0, p0, Lnbisdk/g;->m:Lnbisdk/ln;

    invoke-interface {v0}, Lnbisdk/ln;->iw()I

    move-result v0

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_1

    iget-object v2, p0, Lnbisdk/g;->m:Lnbisdk/ln;

    invoke-interface {v2, v1}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-interface {v2}, Lnbisdk/hq;->gg()V

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method public u()V
    .locals 14

    iget-object v0, p0, Lnbisdk/g;->m:Lnbisdk/ln;

    invoke-interface {v0}, Lnbisdk/ln;->iw()I

    move-result v0

    iget-object v1, p0, Lnbisdk/g;->e:Lnbisdk/px;

    invoke-virtual {v1}, Lnbisdk/px;->kw()Lnbisdk/sd;

    const/4 v1, 0x0

    if-gez v1, :cond_0

    :cond_0
    const-wide/high16 v1, -0x4010

    const-wide/16 v3, 0x0

    const/4 v5, 0x1

    sub-int/2addr v0, v5

    move v5, v0

    move-wide v12, v1

    move-wide v1, v3

    move-wide v3, v12

    :goto_0
    if-ltz v5, :cond_4

    iget-object v0, p0, Lnbisdk/g;->m:Lnbisdk/ln;

    invoke-interface {v0, v5}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v0

    check-cast v0, Lnbisdk/ju;

    invoke-virtual {v0}, Lnbisdk/ju;->hs()I

    move-result v6

    const/4 v7, 0x1

    sub-int/2addr v6, v7

    :goto_1
    if-ltz v6, :cond_3

    invoke-virtual {v0, v6}, Lnbisdk/ju;->aw(I)Lnbisdk/jk;

    move-result-object v7

    invoke-virtual {v7}, Lnbisdk/jk;->hg()Ljava/lang/String;

    move-result-object v8

    const-string v9, "G"

    invoke-virtual {v8, v9}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_2

    invoke-virtual {v7}, Lnbisdk/jk;->getType()I

    move-result v8

    const/4 v9, 0x1

    if-ne v8, v9, :cond_2

    const-wide/high16 v8, -0x4010

    cmpl-double v8, v3, v8

    if-eqz v8, :cond_1

    invoke-virtual {v7}, Lnbisdk/jk;->hj()D

    move-result-wide v8

    invoke-virtual {v7}, Lnbisdk/jk;->getLength()D

    move-result-wide v10

    add-double/2addr v8, v10

    cmpl-double v3, v8, v3

    if-ltz v3, :cond_1

    invoke-virtual {v7}, Lnbisdk/jk;->getLength()D

    move-result-wide v3

    add-double/2addr v1, v3

    :goto_2
    invoke-virtual {v7, v1, v2}, Lnbisdk/jk;->h(D)V

    invoke-virtual {v7}, Lnbisdk/jk;->hj()D

    move-result-wide v3

    :goto_3
    add-int/lit8 v6, v6, -0x1

    goto :goto_1

    :cond_1
    invoke-virtual {v7}, Lnbisdk/jk;->getLength()D

    move-result-wide v1

    goto :goto_2

    :cond_2
    const-wide/16 v1, 0x0

    const-wide/high16 v3, -0x4010

    goto :goto_3

    :cond_3
    add-int/lit8 v0, v5, -0x1

    move v5, v0

    goto :goto_0

    :cond_4
    return-void
.end method
